const api = require('../index')

module.exports = {
    list: () => {
        return api.post('/music/list')
    },
    search: (name, page = 1) => {
        return api.post('/music/search', { name, page })
    }
}